package lc.oa.enums;

import androidx.annotation.InspectableProperty;

import lombok.Data;

/**
 * @Description: 请求枚举
 * @Author: lucifer
 * @CreateDate: 2020/8/11 12:55
 * @UpdateUser:
 * @UpdateDate:
 * @UpdateRemark:
 * @Version: 1.0
 */

public enum HttpStatus {
    OK(200,"成功"),
    FAIL(-1,"失败");
    private HttpStatus(Integer _code,String _desc){
        this.code=_code;
        this.desc=_desc;
    }
    private Integer code;
    private String desc;

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
